package cn.test;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Optional;

import lombok.extern.slf4j.Slf4j;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.loader.JarLauncher;
import org.springframework.boot.loader.PropertiesLauncher;

/**
 * 启动类
 *
 * @see JarLauncher
 * @see PropertiesLauncher
 * @author summit
 * @since 2021/11/18 15:00
 */
@SpringBootApplication
@Slf4j
public class JarApplication {

	/**
	 * @see org.springframework.core.env.SimpleCommandLineArgsParser#parse(java.lang.String...)
	 * @param args
	 */
	public static void main(String[] args) {
//		for (String arg : args) {
//			log.info("args => {}", arg);
//		}

		SpringApplication.run(JarApplication.class, args);
	}
}
